package cn.iocoder.yudao.module.pricehistory.controller.admin.pricehistory1.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 记录旅游线路价格的变动历史 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PriceHistoryRespVO {

    @Schema(description = "价格变动历史记录的唯一 ID（主键）", requiredMode = Schema.RequiredMode.REQUIRED, example = "11227")
    @ExcelProperty("价格变动历史记录的唯一 ID（主键）")
    private Long historyId;

    @Schema(description = "关联的旅游线路 ID（外键）", requiredMode = Schema.RequiredMode.REQUIRED, example = "46")
    @ExcelProperty("关联的旅游线路 ID（外键）")
    private Long routeId;

    @Schema(description = "线路变动前的价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1657")
    @ExcelProperty("线路变动前的价格")
    private BigDecimal oldPrice;

    @Schema(description = "线路变动后的价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "20666")
    @ExcelProperty("线路变动后的价格")
    private BigDecimal newPrice;

    @Schema(description = "价格变动的时间")
    @ExcelProperty("价格变动的时间")
    private LocalDateTime changeTime;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}